//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "arrays\fn_arrayRandomize.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

private ["_ar","_ran_array","_this"];
_ar =+ _this;
_ran_array = [];
while {count _ar > 0} do {
	_ran = floor (random (count _ar));
	_ran_array set [count _ran_array, _ar select _ran];
	_ar set [_ran, "xfXX_del"];
	_ar = _ar - ["xfXX_del"];
};
_ran_array
